package com.yc.oop3;

public class MyMath {
	public void add(int x, int y) {
		System.out.println( x + y ); 
	}
	
	//三个数字相加				//量词参数...
	public void addThree(int a, int b, int c) {
		System.out.println( a + b + c );
	}
	
	public void addDouble(double x, double y) {
		System.out.println( x + y );
	}
	
	//这些方法,功能是类似的,但是,方法名,太纠结了
	public void add(double x, double y) {
		System.out.println( x + y );
	}
}
